package com.vip8.recorder.service.db.mapper;

import com.vip8.recorder.service.db.model.Heartbeat;
import com.vip8.recorder.service.db.model.HeartbeatExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface HeartbeatDao {
    long countByExample(HeartbeatExample example);

    int deleteByExample(HeartbeatExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Heartbeat record);

    int insertSelective(Heartbeat record);

    List<Heartbeat> selectByExample(HeartbeatExample example);

    Heartbeat selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Heartbeat record, @Param("example") HeartbeatExample example);

    int updateByExample(@Param("record") Heartbeat record, @Param("example") HeartbeatExample example);

    int updateByPrimaryKeySelective(Heartbeat record);

    int updateByPrimaryKey(Heartbeat record);

    long countDistributionByExample(HeartbeatExample example);

    List<Heartbeat> selectDistributionByExample(HeartbeatExample example);

    long countTrackByExample(HeartbeatExample example);

    List<Heartbeat> selectTrackByExample(HeartbeatExample example);
}